module.exports = [
  {
    url: "/sys/storage/page",
    type: "post",
    response: config => {
      return {
        msg: "获取接口的分页数据",
        code: 200,
        data: {
          pageNumber: 1,
          list: [
            {
              id: 1,
              name: "图片",
              fileName: "picture.jpg",
              path: "/file/pic",
              suffix: "jpg",
              size: "51200",
              created: "2021-03-26",
              creator: "admin"
            }
          ],
          pageSize: 15,
          totalPage: 3,
          totalRow: 35,
          firstPage: true,
          lastPage: false
        },
        success: true,
        time: "2021-03-10 17:12:28"
      };
    }
  },
  {
    url: "/sys/storage/del",
    type: "post",
    response: () => {
      return {
        msg: "删除成功",
        code: 200,
        data: null,
        success: true,
        time: "2021-03-10 16:43:50"
      };
    }
  },
  {
    url: "/sys/storage/upload",
    type: "post",
    response: () => {
      return {
        msg: "上传成功",
        code: 200,
        data: "20210325153305.png",
        success: true,
        time: "2021-03-25 15:33:36"
      };
    }
  }
];
